package com.cykj.pos.service;

import com.cykj.pos.domain.BizAdvertising;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cykj.pos.domain.BizAdvertisingType;
import com.cykj.pos.profit.dto.BizAdvertisingDTO;

import java.util.List;

/**
 * 广告Service接口
 *
 * @author weijianbo
 * @date 2021-04-26
 */
public interface IBizAdvertisingService extends IService<BizAdvertising> {

    /**
     * 查询列表
     */
    List<BizAdvertising> queryList(BizAdvertising bizAdvertising);

    /**
     * 新增广告
     * @param bizAdvertising
     */
    void saveBizAdvertising(BizAdvertising bizAdvertising);

    /**
     * 获取所有广告 分类
     * @return
     */
    List<BizAdvertisingDTO> selectAdvertisingList(BizAdvertisingType bizAdvertisingType);
}
